package com.suray.system.run.seer;

import com.suray.system.run.seer.task.SeerAgvTaskImpl;
import com.suray.wcs.service.util.WcsUtil;

/**
 * seer Agv 控制
 */
public class SeerAgvControl {

    public static SeerAgvTaskImpl seerAgvTask;

    public static void init() {
        try {
            seerAgvTask = new SeerAgvTaskImpl();
            seerAgvTask.init();
        } catch (Exception e) {
            WcsUtil.exceptionLog(e, SeerAgvControl.class);
        }
    }

    public static void run() {
        try {
            seerAgvTask.run();
        } catch (Exception e) {
            WcsUtil.exceptionLog(e, SeerAgvControl.class);
        }
    }
}
